package com.redrose.audioandvideo;


import android.app.Application;

import com.alibaba.android.arouter.launcher.ARouter;
import com.redrose.audioandvideo.utils.LogUtils;

import org.litepal.LitePalApplication;

/**
 * Desc:
 *
 * @author: RedRose
 * Date: 2019/5/19 0019
 * Email: yinsxi@163.com
 */
public class BaseApplication extends LitePalApplication {
    @Override
    public void onCreate() {
        super.onCreate();
        if (BuildConfig.DEBUG) {
            ARouter.openLog();
            ARouter.openDebug();
        }
        ARouter.init(this);
        LogUtils.init();

    }
}
